import Vue from 'vue'
import App from './App.vue'
//重置样式
import "normalize.css"
import "./assets/css/index.css"

//注册全局组件
import Header from '@/components/header/header.vue'
import Footer from '@/components/footer/footer.vue'
Vue.component(Header.name, Header)
Vue.component(Footer.name, Footer)
//引入路由组件
import router from './router'

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
